{extend name="public/base" /}

{block name="content"}
<div class="container-fluid">
    <div class="breadcrumb-wrapper row">
        <div class="col-12 col-lg-3 col-md-6">
            <h4 class="page-title">站点设置</h4>
        </div>
        <div class="col-12 col-lg-9 col-md-6">
            <ol class="breadcrumb float-right">
                <li><a href="{:url('Manage/home')}">控制台</a></li>
                <li class="active"> / 站点设置</li>
            </ol>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <form method="post" action="{:url('Site/editSiteDo')}">
                        <input type="hidden" name="id" value="{$info.id}">
                        <div class="form-group">
                            <label>网站名称</label>
                            <input class="form-control" type="text" name="title" value="{$info.title}">
                        </div>
                        <div class="form-group">
                            <label>关键字</label>
                            <input class="form-control" type="text" name="keywords" value="{$info.keywords}">
                        </div>
                        <div class="from-group">
                            <label>网站描述</label>
                            <textarea class="form-control" name="desc" rows="3">{$info.desc}</textarea>
                        </div>
                        <br>
                        <button type="submit" class="btn btn-common">提交保存</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}